package com.util;

public class JSON_to_layui {
	//通过dao层返回的json数据修改为layui支持的json格式
	public static String getLayuiData(String data,int status,int count,String msg) {
		return "{\"code\": \""+status+"\",\"msg\":\""+msg+"\",\"count\": \""+count+"\",\"data\":" + data + "}";
	}
	
}
